package com.bzyd.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by Xianyue Dang on 2021/8/18
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})//因为shop-common中引用了数据源，此处需要排除掉
@EnableDiscoveryClient //注册到nacos
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }
}
